package com.bean;

public class Mobile 
{
	int id, price;
	String model, company, camera;
	
	// Created Default constructor so It can initialize members with default value
	public Mobile()
	{
		// Calling Constructor of Base class(i.e Object) to initialize
		super();
	}
	
	public Mobile(int id,String model,String company,String camera,int price)
	{
		this.id = id;
		this.model = model;
		this.company = company;
		this.camera = camera;
		this.price = price;
	}
	
	public Mobile(String model,String company,String camera,int price)
	{
		this.id = 0;
		this.model = model;
		this.company = company;
		this.camera = camera;
		this.price = price;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getCamera() {
		return camera;
	}
	public void setCamera(String camera) {
		this.camera = camera;
	}
}
